<!doctype html>
<html lang="en">
    <head>
    <meta charset="UTF-8">  
    <link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.0/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/admin_css/admin.css" />
    <script src="/js/jquery.min.js"></script>
    <script type="text/javascript" src="/js/admin/admin_pc.js"></script>
    <script src="http://apps.bdimg.com/libs/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    <title>@yield('title')</title>
 </head>
 <body>
    <!-- header start -->
    <input type="hidden" class="byValue" value="{{ $status['message'] or '' }}" />
    <div class="header">
        <div class="title_name">康佳净水器数据管理平台<i></i></div>
        <div class="user_name">
            <div>欢迎您：</div>
            <div class="nameVal_box">
                @if($user = Sentinel::check())
                <p>{{ $user->username }}</p>
                @endif
            </div>
        </div>
        <div class="bowout_btn">退出账号</div>
    </div>
    <!-- content start -->
    <div class="content">
        <!-- side_left start -->
        <div class="side_left">
            <div class="index_top">康佳净水器</div>
            <a class="first details_btn" href="/admin/device/index"><span></span><sapn>设备列表</sapn></a>
            <a class="first user_info" href="/admin/user/info-list" ><span></span><sapn>用户信息</sapn></a>
            <a class="first user_manage" href="/admin/user/index"><span></span><sapn>账户管理</sapn></a>
            <a class="second add" href="/admin/user/add"><span></span><sapn>添加账号</sapn></a>
            <a class="second revise" href="/admin/user/update-password"><span></span><sapn>修改密码</sapn></a>
        </div>
        <!-- side_right start -->
        <!-- user_info of one-->
        <div class="side_right user_infone disactive">
            @section('title_top')
            <!-- title_top start -->
            @show
            <!-- function part -->
            <div class="equip_query">
                @section('equip_query')

                @show
            </div>
            <div class="clear"></div>

            @section('userinfo_tab')

            @show
            <!-- page number part -->
            @section('page_num')
            
            @show
        @section('infor_promit')
        </div>
    </div>
    <!--信息提示-->
    <div class="hint_bg">
        <div class="hint_box">
            <p class="hint_text"></p>
            <div class="hint_btn">确定</div>
        </div>
    </div> 
    <div class="hint_bg1">
        <div class="hint_box1">
            <p class="hint_text1"></p>
        </div>
    </div>  
    <div class="hint_page">
        <div class="hint_casket">
            <p class="hint_txt"></p>
            <div class="hint_btn">
                <div class="hint_no">取消</div>
                <div class="hint_yes">确定</div>
            </div>
        </div>
    </div>
    @show
</body>
</html>
<script>
window.onload=function(){
    if($("table").height()>=470){
        $("table").css({"height":"470px","overflow":"scroll"});
    }
}
init();
</script> 
